import { NgModule, ModuleWithProviders } from '@angular/core';
import { CommonModule } from '@angular/common';

import { ApesHeaderComponent } from './apes-header.component';
import { ApesHeaderConfig } from './apes-header.config';

const COMPONENTS = [ApesHeaderComponent];

@NgModule({
    imports:        [CommonModule],
    declarations:   [...COMPONENTS],
    exports:        [...COMPONENTS]
})
export class ApesHeaderModule {
    static forRoot(): ModuleWithProviders {
        return { ngModule: ApesHeaderModule, providers: [ ApesHeaderConfig ] };
    }
}
